home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Very Best of Atari Inside
/
The Very Best of Atari Inside 1.iso
/
mint
/
mntlib43
/
mntlib
/
nice.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-09-15
|
349b
|
24 lines
/*
* nice() `emulation' by Dave Gymer
* I've never been too sure what this should return; my SysV quick
* ref seems to say "-20 to +19, or -1 on error". Hmm.
*/
#include <errno.h>
#include <mintbind.h>
#include <support.h>
extern long __mint;
int
nice(p)
int p;
{
if (__mint)
return Pnice(p);
else {
errno = EINVAL;
return -1;
}
}